import { BrowserModule } from '@angular/platform-browser';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { NgModule } from '@angular/core';
import { NgZorroAntdModule } from 'ng-zorro-antd';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';

// components
import { MainComponent } from './components/main/main.component';

// router
import { MainRoutingModule } from './main-routing.module';
import { MenuManagementComponent } from './components/system/menu-management/menu-management.component';

// pipes
import { GetParentNamePipe } from '../../core/pipes/get-parent-name.pipe';
import { SchoolManagementComponent } from './components/system/school-management/school-management.component';

@NgModule({
    imports: [
        BrowserModule,
        BrowserAnimationsModule,
        FormsModule,
        ReactiveFormsModule,
        NgZorroAntdModule.forRoot(),
        MainRoutingModule
    ],
    providers: [],
    declarations: [
        MainComponent,
        MenuManagementComponent,
        GetParentNamePipe,
        SchoolManagementComponent
    ]
})

export class MainModule { }